package com.scm.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Vehicle entity. @author MyEclipse Persistence Tools
 */

public class Vehicle implements java.io.Serializable {

	// Fields

	private String vinNumber;
	private Modelcolor modelcolor=new Modelcolor();
	private Purchaseorder purchaseorder=new Purchaseorder();
	private String vinLastSix;
	private String engineNumber;
	private Integer vinResult;
	private Integer vehicleStatus;
	private Set storagepositions = new HashSet(0);
	private Set opencheckinfos = new HashSet(0);
	private Set saleorders = new HashSet(0);

	// Constructors

	/** default constructor */
	public Vehicle() {
	}

	/** minimal constructor */
	public Vehicle(Modelcolor modelcolor, Purchaseorder purchaseorder,
			String vinLastSix, String engineNumber, Integer vinResult,
			Integer vehicleStatus) {
		this.modelcolor = modelcolor;
		this.purchaseorder = purchaseorder;
		this.vinLastSix = vinLastSix;
		this.engineNumber = engineNumber;
		this.vinResult = vinResult;
		this.vehicleStatus = vehicleStatus;
	}

	/** full constructor */
	public Vehicle(Modelcolor modelcolor, Purchaseorder purchaseorder,
			String vinLastSix, String engineNumber, Integer vinResult,
			Integer vehicleStatus, Set storagepositions, Set opencheckinfos,
			Set saleorders) {
		this.modelcolor = modelcolor;
		this.purchaseorder = purchaseorder;
		this.vinLastSix = vinLastSix;
		this.engineNumber = engineNumber;
		this.vinResult = vinResult;
		this.vehicleStatus = vehicleStatus;
		this.storagepositions = storagepositions;
		this.opencheckinfos = opencheckinfos;
		this.saleorders = saleorders;
	}

	// Property accessors

	public String getVinNumber() {
		return this.vinNumber;
	}

	public void setVinNumber(String vinNumber) {
		this.vinNumber = vinNumber;
	}

	public Modelcolor getModelcolor() {
		return this.modelcolor;
	}

	public void setModelcolor(Modelcolor modelcolor) {
		this.modelcolor = modelcolor;
	}

	public Purchaseorder getPurchaseorder() {
		return this.purchaseorder;
	}

	public void setPurchaseorder(Purchaseorder purchaseorder) {
		this.purchaseorder = purchaseorder;
	}

	public String getVinLastSix() {
		return this.vinLastSix;
	}

	public void setVinLastSix(String vinLastSix) {
		this.vinLastSix = vinLastSix;
	}

	public String getEngineNumber() {
		return this.engineNumber;
	}

	public void setEngineNumber(String engineNumber) {
		this.engineNumber = engineNumber;
	}

	public Integer getVinResult() {
		return this.vinResult;
	}

	public void setVinResult(Integer vinResult) {
		this.vinResult = vinResult;
	}

	public Integer getVehicleStatus() {
		return this.vehicleStatus;
	}

	public void setVehicleStatus(Integer vehicleStatus) {
		this.vehicleStatus = vehicleStatus;
	}

	public Set getStoragepositions() {
		return this.storagepositions;
	}

	public void setStoragepositions(Set storagepositions) {
		this.storagepositions = storagepositions;
	}

	public Set getOpencheckinfos() {
		return this.opencheckinfos;
	}

	public void setOpencheckinfos(Set opencheckinfos) {
		this.opencheckinfos = opencheckinfos;
	}

	public Set getSaleorders() {
		return this.saleorders;
	}

	public void setSaleorders(Set saleorders) {
		this.saleorders = saleorders;
	}

}